About the API
 The QC Application Programming Interface (API)can be used to control QC directly from your code during development.  Most of the functions accessible from the QC Control Panel are accessible by using the API.  

Using the API requires that the QC extension be loaded during system startup and that your application code link with the library supplied for your development environment.

Prerequisites
 This reference manual assumes are you familiar with Macintosh programming and specifically, that you are familiar with Macintosh memory management through the use of Handles and Pointers.  If you are not familiar with basic memory management techniques it is strongly suggested you read the Inside Macintosh volumes pertaining to application runtime and memory management.  This manual assumes the reader is an intermediate to expert Macintosh developer and using this assumption, does not attempt to cover any such development topics.

Reference format
 There are multiple sections of this reference for controlling different aspects of QC testing.  The API uses C calling conventions.  Each reference section will contain the following information:

Interface
-
The API call and the interface to it.
Description
-
Description of what the call does and why you would use it.
Results
-
Description of possible results and possible errors for the call, but not

limited to those descibed.

QC API Libraries
 Libraries are provided for using the API from MPW, CodeWarrior, and THINK environments.  Simply link these libraries into your projects to access all the calls described in this document.

MPW
-
Link with 'QCAPI.o'
CodeWarrior - If building an application, link with 'QCAPI.CWLIB'.  If building a code resource (A4-based), link with 'QCAPI.CWA4LIB'.
THINK
-
If building an application, link with 'QCAPI.LIB'. 
If building a code resource (A4-based), link with 'QCAPI.A4LIB'.

PowerPC Projects

There is a PowerPC shared library called 'QCAPI Lib' that can be used in CodeWarrior, MPW, or Symantec 8.0 projects.